package com.rongke.mapper;

import java.util.Map;

/**
 * Created by bin on 2017/8/18.
 */

public interface IndexMapper {

    Integer userAddCount(Map<String,Object> map);

    Integer userAllCount(Map<String,Object> map);

    Integer outMoneyUserCount(Map<String,Object> map);

    Integer badOrderUserCount(Map<String,Object> map);

    Integer orderPassUserCount(Map<String,Object> map);

    String moneyOutAll(Map<String,Object> map);

    String moneyBackAll(Map<String,Object> map);

    /**
     * 渠道商今日新增会员
     * @param map
     * @return
     */
    Integer userAddCountChannel(Map<String, Object> map);

    /**
     * 渠道商今日放款金额
     * @param map
     * @return
     */
    String orderOutMoneyChannel(Map<String, Object> map);

    /**
     * 渠道商会员今日申请订单金额
     * @param map
     * @return
     */
    String applyOrderMoneyChannel(Map<String, Object> map);

    /**
     * 渠道商今日利润收入
     * @param map
     * @return
     */
    String orderChannelProfitChannel(Map<String, Object> map);

}
